package com.ntd.pay.channel.douyin.model.in;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * 抖音退款入参
 *
 * @author liuwenju
 * @date 2021/09/23
 */
@Data
public class DouYinOrderRefundInBO extends DouYinOrderInBO {

    /** 商户分配退款号 - 退款，退款查询必传 */
    @JSONField(name = "out_refund_no")
    private String outRefundNo;

    /** 订单金额 - 不确定是否需要，参数列表没有，数据示例里面有 */
    @JSONField(name = "total_amount")
    private Integer totalAmount;

    /** 退款金额，单位[分] */
    @JSONField(name = "refund_amount")
    private Integer refundAmount;

    /** 退款原因 */
    @JSONField(name = "reason")
    private String reason;

    /** 是否为分账后退款，1-分账后退款；0-分账前退款。分账后退款会扣减可提现金额，请保证余额充足 */
    @JSONField(name = "all_settle")
    private Integer allSettle;
}
